package com.ihr360.insurance.dao;

import com.ihr360.insurance.model.dto.ledger.IncreaseMemberPlan;
import com.ihr360.rest.reposity.SimpleRestReposity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-03-15 14:03:52.
 */
@RepositoryRestResource
public interface IncreaseMemberPlanReposity extends SimpleRestReposity<IncreaseMemberPlan, Long>,
        PagingAndSortingRepository<IncreaseMemberPlan, Long>, JpaSpecificationExecutor<IncreaseMemberPlan> {

    void deleteByCompanyIdAndUserIdAndYearAndMonth(String companyId, String userId, Integer year, Integer month);
}
